package com.example.demo.base.login.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

// 登入信息
public class LoginVo implements Serializable {

    private static final long serialVersionUID=2123123123122312313L;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 登陆身份 1 普通用户，2 管理员
     */
    private String type;

    /**
     * 登陆方式 1 密码账号 2 手机 3 邮箱
     */
    private String loginStatus;


    /**
     * 账号的密码
     */
    private String code;

    /**
     * 邮箱验证码
     */
    private String email;


    /**
     * 手机验证码
     */
    private String phone;


    /** 保存的随机数 **/
    private String random;

    public String getRandom() {
        return random;
    }

    public void setRandom(String random) {
        this.random = random;
    }





    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLoginStatus() {
        return loginStatus;
    }

    public void setLoginStatus(String loginStatus) {
        this.loginStatus = loginStatus;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
